package com.jingtai.platform.service.shop;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jingtai.core.entity.shop.MerchantsGoods;
import com.jingtai.platform.util.ResultUtil;

/**
 * 商户商品表
 *
 * @author sunlaiqian
 * @date 2020-12-02 18:31:32
 */
public interface MerchantsGoodsService extends IService<MerchantsGoods> {

    ResultUtil MerchantsGoodslist(Integer page, Integer limit, String conditions);

    ResultUtil getMerchantsGoodsById(Long id);

    ResultUtil addMerchantsGoods(MerchantsGoods merchantsGoods);

    ResultUtil editMerchantsGoods(MerchantsGoods merchantsGoods);

    ResultUtil delMerchantsGoodsById(Long id);

    ResultUtil addMerchantsGoodsByGoodsCode(String goodsCode,Long merchantsId);

    ResultUtil refreshGoodsListByGoodsCode(String goodsCode);
}

